<!DOCTYPE html>

<%@ page import="java.sql.*" %> 
<%@ page import="java.io.*" %> 
<%@ page import="java.util.Date" %> 
<%@ page import="java.text.DateFormat" %> 
<%@ page import="java.text.SimpleDateFormat" %> 

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
	function aabc ()
	{
		alert("aaanc");
		<%
			session.setAttribute( "aabc",  "123");
		%>
	}
</script>
	<link rel="stylesheet" type="text/css" href="common.css">
    <title>Menu</title>
</head>
<body>
	<form action="abc.jsp" method="post" name="entry" ENCTYPE="multipart/form-data" onSubmit="return validate(this)">
		<table width="150px">
			<tr>
				
				<td><input name="txtA" type="text" /></td>
				<td><input id="btnSubmit" type="submit" onClick="aabc()" value="Submit" /></td>
			</tr>
		</table>
	</form>
</body>
</html>
